package com.zys.el.security.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.zys.el.core.po.BaseEntity;
import lombok.Data;

@Data
@TableName("role_")
public class Role extends BaseEntity {

    @TableField("name_")
    private String name;
    @TableField("title_")
    private String title;
    @TableField("desc_")
    private String desc;

    @TableField(exist = false)
    private Long[] userIds; //瞬时属性，角色的用户列表，如：[1,3,4,5]

}
